home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / tex / pco334.zip / SORTING.PCO (.txt) < prev    next >
PC-Outline Document  |  1986-12-15  |  3KB  |  51 lines

  1.           SORTING THE ELEMENTS ON AN OUTLINE LEVEL
  2.  
  3.  
  4.  A. To sort the elements on a particular outline level,
  5.     choose Sort Outline Level from the Outline menu. This
  6.     function allows you to organize elements in much the same
  7.     way as a dictionary organizes words (and all children of an
  8.     element are moved along with their parent).  Choosing this
  9.     function brings up an Option Box with three settings that
  10.     control the sort:
  11.  
  12.     1. Sort Direction - You can sort elements in either forward or
  13.        reverse order.  If set to "Increasing", this will sort
  14.        elements in the conventional forward order.  If set to
  15.        "Decreasing", this will sort elements in the opposite of the
  16.        forward order.
  17.  
  18.     2. Type Of Sort - If set to "Dictionary", this will sort in the
  19.        following order from lowest to highest: punctuation,
  20.        numbers, upper and lower case letters without regard for
  21.        case, blanks.  If set to "Pure Ascii", this will sort in the
  22.        following order from lowest to highest: blanks, punctuation,
  23.        numbers, upper case letters, lower case letters.
  24.  
  25.     3. Field Number To Sort - PC-OUTLINE sorts based on the
  26.        characters following a colon in an element.  In the child of
  27.        this element, "Sample 1" is the 0th field, "b" is the 1st
  28.        Field, "3" is the 2nd field, and "OK" is the 3rd.
  29.  
  30.        a) Sample 1  :b   :3    :OK
  31.  
  32.  
  33.  
  34.  B. Move the cursor to the children of these elements and try
  35.     several sorts for yourself. Try different settings of Sort
  36.     Direction, Type of Sort, and Field Number.  Watch how the
  37.     order of the elements change - keeping track of their
  38.     original positions is easy with the words "Sample 1",
  39.     "Sample 2", etc.   (Note that if you sort by a Field Number
  40.     higher than the number of fields of any element in the sort
  41.     - 4 or more in this example - then sorting will simply
  42.     reverse the order of the elements. Doing it again will
  43.     simply reverse the order again, back to their original
  44.     places.)
  45.  
  46.     1. Sample 1  :b   :3    :OK
  47.     2. Sample 2  :c   :41   :OK
  48.     3. Sample 3  :d   :3    :OK
  49.     4. Sample 4  :e   :19   :OK
  50.     5. Sample 5  :a   :7    :OK
  51.